home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: barney.gvi.net!mv!usenet
- From: ENGR@GSSI.MV.COM (Michael Furman)
- Subject: Re: Performance: C vs. C++
- Message-ID: <DLpGAG.3Kn@mv.mv.com>
- Mime-Version: 1.0
- Organization: GSSI
- Date: Wed, 24 Jan 1996 21:42:15 GMT
- References: <30F6BAAC.12B5@iastate.edu> <4e26je$crd@classic.iinet.com.au>
- X-Newsreader: WinVN 0.93.10
- X-Nntp-Posting-Host: gssi.mv.com
-
- At 12:35 AM 1/23/96 GMT, you wrote:
- > ............
- >
- >Conceded. If you don't use C++ features in a C++ compiler, there
- >should be no difference in performance. Then again, I don't see the
- >point in all this talk if we are still talking about using C in a C++
- >compiler ? :-)
-
- The point is (IMO) that statement "C++ less (run time) effective then
- C" is a very misleading one. And actually - question (I believe) is not
- correct - there
- is no clear way to compare this languages outside their common part.
-
- Where it is possible I think C++ is more effective. For example in some
- places
- virtual functions in C++ replace switch in C - in all implementations I
- heared of virtual call is faster.
-
-
- >
- >By the way, it should be "Runtime Type Information" instead of
- >"Runtime Type Checking".
-
- And I do not have a real experiance with runtime type information, but
- I do not
- see what kind of overhead it can have.
-
- >Regards,
- >
- >John Ng
- >ng@mitswa.com.au
- >Western Australia
- >
- >
- >
-
-